package com.helloworld.chat.service;

import com.helloworld.chat.entity.Friend;
import com.helloworld.chat.entity.FriendRequest;
import com.helloworld.chat.entity.User;

import java.util.List;

/**
 * Created by xdzy on 2017/6/29.
 */
public interface FriendService {
    String addFriend(FriendRequest friendRequest, User me,String friendName);
    Friend getFriend(int id);
    List<Friend> getFriendList(int groupId);
    String getFriendList_JSON(int groupId);
    void update(String alias,int id);
    void delete(int id);
}
